/********************************************************************************
 *      Copyright:  (C) 2022 YanlinZhou<1222>
 *                  All rights reserved.
 *
 *       Filename:  debug.h
 *    Description:  This head file 
 *
 *        Version:  1.0.0(04/13/2022)
 *         Author:  YanlinZhou <1222>
 *      ChangeLog:  1, Release initial version on "04/13/2022 10:53:22 AM"
 *                 
 ********************************************************************************/


#ifndef  _DEBUG_H_
#define  _DEBUG_H_

//#define DEBUG
#ifdef  DEBUG
#define DBG(format, ...) /*fprintf(stdout, "[DBG](Func:%s(), Line:%d):",  __FUNCTION__, __LINE__);*/ \
                         fprintf(stdout, format"\r\n", ##__VA_ARGS__)
#else
#define DBG(format, ...)  do {} while (0)
#endif

#endif   /* ----- #ifndef _DEBUG_H_  ----- */
